package com.finance.cooperate.dao.local.scope;

import lombok.Data;
import org.springframework.context.annotation.Scope;
import org.springframework.context.annotation.ScopedProxyMode;
import org.springframework.stereotype.Component;
import org.springframework.web.context.WebApplicationContext;

import java.util.Date;

/**
 * @ClassName CooperateRequestScope
 * @Description Request 作用域变量
 * @Author shen
 * @Date 2022/5/25 16:43
 * @Modify ...
 */
@Component
@Scope(value = WebApplicationContext.SCOPE_REQUEST,
        proxyMode = ScopedProxyMode.TARGET_CLASS)
@Data
public class CooperateRequestScope {

    // 贷款次数
    private Long loanNum;

    // 用户 id
    private String userId;

    // applyId
    private String applyId;

    // 进件时间节点
    private Date lastSubmitTime;

    // 首贷进件时间【临时字段】
    private Date firstLastSubmitTime;

    // 设备id
    private String deviceId;

    // 应用包
    private String packageName;

}
